package com.tjetc.service;

import com.tjetc.domain.Newborn;
import com.tjetc.domain.Vaccine;
import com.tjetc.vo.Result;

import java.util.List;

public interface VaccineService {
    public Vaccine getVaccineById(Integer id);
    public Vaccine getVaccineByName(String name);
    public List<Vaccine> getVaccineList();
    public Result addVaccine(Vaccine vaccine);
    public Result updateVaccine(Vaccine vaccine);
    public Result deleteVaccine(Integer id);
    List<Vaccine> getVaccineByNewBornId(int id);
    List<Vaccine>getVaccineByQuantity(int i);//获取库存小于i的疫苗
    List<Vaccine> getVaccineNotByNewBornId(int  id);//获取没有被接种的疫苗

    List<Vaccine> list();
    List<Newborn> getlistAll();
}
